package tchk.xyz.lingyuntutorminiprogram.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import tchk.xyz.lingyuntutorminiprogram.dto.WithdrawalAuditDTO;
import tchk.xyz.lingyuntutorminiprogram.entity.WalletTransaction;

public interface IWalletTransactionService extends IService<WalletTransaction> {
    IPage<WithdrawalAuditDTO> getPendingWithdrawals(IPage<WithdrawalAuditDTO> page);

    void auditWithdrawal(Long transactionId, Boolean isApproved);

    IPage<WithdrawalAuditDTO> getWithdrawalsByStatus(IPage<WithdrawalAuditDTO> page, String status);

}